package com.mapper;

import com.entity.User;
import com.vo.FindBackUserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈忠杰
 * @Date: 2021/07/02/15:36
 * @Description:
 */
public interface UserMapper {

    int selUser(@Param("login_name") String login_name, @Param("password") String password);

    List<User> selUserByInfo(FindBackUserVO findBackUserVO);

    User selUserById(int id);

    void updUserByInfo(User user);

    void updUserStatus(@Param("user") User user);
}
